package com.szrt.java.day20170103.demo01;

import org.junit.Test;
public class CarTest {
	
	@Test
	public void testName() throws Exception {
		
		Car car = new Car(){

			@Override
			public void yy() {
				System.out.println("yy");
				
			}};
		car.print();
		car.yy();
		
	}

}
